﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;

namespace Tesis.Models
{
    public partial class DBContext : DbContext
    {

        public void seed()
        {
            seeModelo();
            seeDistribucion();
        }

    }

    //public class DBInitializer : DropCreateDatabaseIfModelChanges<DBContext>
    public class DBInitializer : DropCreateDatabaseAlways<DBContext>
    {
        protected override void Seed(DBContext context)
        {
            context.seed();
        }
    }
}